#include <stdio.h>

int main() 
{
    char ch = 0;
    scanf("%c",&ch);
    if (ch >= 'A' && ch <= "z")
    {
        printf("YES");
    }
    else 
    {
        printf("NO");
    }
    return 0;
}